package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资产流水表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WithdrawRecords对象", description="资产流水表")
public class WithdrawRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "资产id")
    private Integer assetId;

    @ApiModelProperty(value = "资产类型")
    private String assetType;

    @ApiModelProperty(value = "数额")
    private Long value;

    @ApiModelProperty(value = "提现方式: wechat_pay_auto微信零钱 wechat_pay转帐、 alipay支付宝、 bank银行")
    private String withdrawType;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "帐户信息")
    private String account;

    @ApiModelProperty(value = "备注")
    private String options;

    @ApiModelProperty(value = "0为审核中  1已完成  2已取消")
    private Boolean status;

    @ApiModelProperty(value = "处理时间")
    private Date handledAt;

    @ApiModelProperty(value = "管理后台备注")
    private String remark;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "提现编号")
    private String number;

    @ApiModelProperty(value = "0为无需自动转帐  1为已成功转帐  2需要人工审核   3为自动转帐失败  4为待处理")
    private Integer autoPayStatus;

    @ApiModelProperty(value = "自动转帐的时间")
    private Date autoPaidAt;

    @ApiModelProperty(value = "自动转帐的相关记录")
    private String autoPayInfo;

    @ApiModelProperty(value = "银行名")
    private String bankName;

    @ApiModelProperty(value = "银行卡号")
    private String bankAccountNumber;

    @ApiModelProperty(value = "银行卡用户名")
    private String bankAccountName;

    @ApiModelProperty(value = "帐号")
    private String accountNumber;

    @ApiModelProperty(value = "帐号实名")
    private String accountName;

    @ApiModelProperty(value = "收款码")
    private String accountQrcode;


}
